Transform
TheTransform
method modifies this shape by applying the specified transform to it.
ODShape Transform (in ODTransform transform);
transform
- A reference to the transform to be applied to this shape.
- return value
- A reference to this shape after it has been transformed.
DISCUSSION
You can use this method to move a shape from one coordinate system to another. For example, a facet's clip shape is in the coordinate system of the frame. To get it into the coordinate system of the canvas, (which you need to do in order to do QuickDraw clipping) you have to transform it by the facet's external transform.Shapes without a geometric representation may not be transformable except by simple offsets.
EXCEPTIONS
kODErrNoShapeGeometry
- The specified shape does not have enough geometric information to be transformed in this way.
kODErrOutOfMemory
- There is not enough memory to transform the shape.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help